namespace JGSY.CMS.LowCode.Platform.Application.DTOs
{
    /// <summary>
    /// 短信验证码数据传输对象
    /// 用于传输短信验证码的相关信息和状态
    /// </summary>
    public class SmsCodeDto
    {
        /// <summary>
        /// 手机号码
        /// 接收验证码的手机号码
        /// </summary>
        public string Phone { get; set; } = string.Empty;
        
        /// <summary>
        /// 验证码
        /// 发送给用户的验证码内容
        /// </summary>
        public string Code { get; set; } = string.Empty;
        
        /// <summary>
        /// 验证码类型
        /// 验证码的用途类型，如注册、登录、找回密码等
        /// </summary>
        public string Type { get; set; } = string.Empty;
        
        /// <summary>
        /// 过期时间
        /// 验证码的有效期截止时间
        /// </summary>
        public DateTime ExpiresAt { get; set; }
        
        /// <summary>
        /// 验证状态
        /// 标识验证码是否已被验证使用
        /// </summary>
        public bool Verified { get; set; }
    }
}
